package com.youxin.cpcenter.service;

import java.util.List;

import com.youxin.busfoundation.bean.ent.RequestCompanyInfoBean;
import com.youxin.busfoundation.bean.ent.RequestEntInfo;
import com.youxin.busfoundation.common.es.SearchCompanyInfo;
import com.youxin.busfoundation.common.es.bean.*;
import com.youxin.busfoundation.common.es.bean.CompanyInfoBean;
import com.youxin.busfoundation.common.es.bean.ContactBean;
import com.youxin.busfoundation.common.es.bean.RequestContactBean;
import com.youxin.busfoundation.common.es.bean.RequestQueryLeadsBean;
import com.youxin.busfoundation.utils.es.EsBasePage;

/**
 * @desc 公司线索接口服务
 * @author yingde.cao
 */
public interface SearchService {
	/**
	 * 搜索公司线索
	 * @param requestBean
	 * @return
	 */
	public EsBasePage<Object> search(RequestQueryLeadsBean requestBean) throws Exception;
	
	public EsBasePage<Object> identifySearch(RequestQueryLeadsBean requestBean) throws Exception;

	
	/**
	 * 企业画像接口
	 * @param requestBean
	 * @return  CompanyInfoBean
	 * @throws Exception
	 */
	public CompanyInfoBean searchCompany(RequestEntInfo requestBean) throws Exception;
	/**
	 * 企业联系人接口
	 * @param requestsBean
	 * @return  CompanyInfoBean
	 * @throws Exception
	 */
	public EsBasePage<Object> searchContact(RequestContactBean requestsBean) throws Exception;
	/**
	 * @desc 企业资源接口
	 * @param requestsBean
	 * @return
	 * @throws Exception
	 */
	public List<ResourceBean> searchResource(RequestResourceBean requestsBean) throws Exception;
}
